# -*- encoding: utf-8 -*-
from __future__ import absolute_import

from django.conf.urls import url
from wechat import views

urlpatterns = [
    url(r'menu/item/create/$', views.CreateMenuItem.as_view(),
        name='wechat_menu_item_create'),
    url(r'menu/item/update/(?P<m_id>[0-9]+)/$',
        views.UpdateMenuItem.as_view(), name='wechat_menu_item_update'),
    url(r'menu/item/delete/(?P<m_id>[0-9]+)/$',
        views.DeleteMenuItem.as_view(), name='wechat_menu_item_delete'),
    url(r'menu/list/$',
        views.MenuList.as_view(), name='wechat_menu_list'),
]
